/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Common;

import java.util.Vector;

/**
 *
 * @author Mario,Thomas,Max,Martin,Sergio
 */
public class Game
{

    private String _name;
    private Vector<IClient> _clients;
    private Object _syncObject = new Object();

    public Game(String name)
    {
        this(name, new Vector<IClient>());
    }

    public Game(String name, Vector<IClient> clients)
    {
        _name = name;
        _clients = clients;
    }

    public String GetName()
    {
        return _name;
    }

    public Vector<IClient> GetClients()
    {
        return _clients;
    }

    public Object GetSyncObject()
    {
        return _syncObject;
    }
}
